From: Lars Magne Ingebrigtsen Date: Sat, 3 Sep 2011 22:20:00 +0000 (+0200) Subject: * Require libxml/parser.h to avoid compilation warning. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~2395 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e63985e02e388acc4c7f841bbc89fbe1b500e648;p=emacs.git * Require libxml/parser.h to avoid compilation warning. --- diff --git a/src/ChangeLog b/src/ChangeLog index 9a640c82323..5b8e76e4037 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-09-03 Lars Magne Ingebrigtsen + * Require libxml/parser.h to avoid compilation warning. + * emacs.c (shut_down_emacs): Call xmlCleanupParser on shutdown. * xml.c (parse_region): Don't call xmlCleanupParser after parsing, diff --git a/src/emacs.c b/src/emacs.c index f68c47ffed0..4cc476290c0 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -82,6 +82,10 @@ along with GNU Emacs. If not, see . */ #include #endif +#ifdef HAVE_LIBXML2 +#include +#endif + #ifndef O_RDWR #define O_RDWR 2 #endif